# # 列表转换成元组
# t1 = tuple([1,2,3])
# print(type(t1), t1)
#
# # 字符串转换成元组
# t2 = tuple('abc')
# print(type(t2), t2)
#
# # 字符串转成列表
# list1 = list((1,2,3))
# print(type(list1), list1)
#
# # 将元组转化成列表
# list2 = list((1,2,3))
# print(type(list2, list2))

# 元组转字符串str
str1 = str((1,2,3))
print(type(str1), str1)

tuple1 = (56,)
print(type(tuple1),tuple1)




# str2 = str([1,2,3])
# print(type(str2), str2)